package com.example.mybatis_mytest.mapper;

import com.example.mybatis_mytest.bean.Student;
import com.example.mybatis_mytest.bean.vo.StudentVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface StudentMpper {
     List<StudentVo> getStudentInfo();

    List<StudentVo> selectMultiParam(@Param("name") String name, @Param("age") Integer age);

    Student selectStudentById(Integer id);

    Student selectMultiStudent(String username,  String password);

    Student selectMultiStudent2(Student student);

    StudentVo selectMultByMap(Map<String, Object> map);
}
